<?php
include_once '../common_mbs.inc.php';
include_once '../smarty.inc.php';

//判断访问权限
$admin_index_module_obj = new osgh_admin_index_module_cls();
$is_warrant = $admin_index_module_obj->is_have_warrant($_ADMIN_ID,'company_list');
if(!$is_warrant) tcmc_cls::ShowMsg("没有权限访问！", "../index_body.html");

$act = trim($_INPUT['action']);
if($act == 'edit')
{
	$company_id = $_INPUT['company_id'];	
	$company_obj = new company_cls();
	$company_arr = $company_obj->get_company_info($company_id);
	$smarty->assign('company_arr' ,$company_arr);
}
$smarty->display('user/save_company.tpl');
?>